package com.ruoyi.project.visit.controller;

import com.ruoyi.framework.web.controller.BaseController;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.visit.service.IDoctorRegistraFeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 挂号费用类型 控制器
 */
@RestController
@RequestMapping("/visit/registerFee")
public class DoctorRegistraFeeController extends BaseController {
    @Autowired
    private IDoctorRegistraFeeService doctorRegistraFeeService;

    /**
     * 查询全部
     * @return
     */
    @GetMapping("/listAll")
    public AjaxResult listAll(){
        return AjaxResult.success(doctorRegistraFeeService.selectAll());
    }

}
